#import "Offloader.h"


@implementation Offloader

RCT_EXPORT_MODULE()

RCT_EXPORT_METHOD(offload:(RCTResponseSenderBlock)f)
{
    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0),
                   ^ {
                       f(@[]);
                   });
}

@end
